package com.buaa.airticketbookingsystem.Dao;

import com.buaa.airticketbookingsystem.Entity.FavouriteRecord;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface CollectionsDao {
    public void insertFavourite(FavouriteRecord favouriteRecord);
    public List<FavouriteRecord> searchFavouriteRecordsByUser(String email);
    public void delFavouriteRecords(String email, String f_id);
    public FavouriteRecord searchFavouriteRecordByEmailAndF_id(String email, String f_id);
}
